/*
 * @Author: your name
 * @Date: 2021-11-02 14:52:04
 * @LastEditTime: 2021-11-02 18:06:48
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \vue-source-code-snanndom\src\mySnabbdom\vnode.js
 */
// 函数功能非常简单，将获取的参数包裹在对象中，返回出去
export default function (sel, data, children, text, elm) {
    const key = data.key
    return {
        sel,
        data,
        children,
        text,
        elm,
        key
    }
}